package com.blogsystem.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blogsystem.entity.Category;

public interface CategoryService extends IService<Category> {
    Category getByName(String categoryName);
    Page<Category> pageCategories(Page<Category> page, QueryWrapper<Category> queryWrapper);

}